<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>
<table class="table">
    <caption>基本的表格布局ftl</caption>
    <thead>
    <tr>
        <th>id</th>
        <th>名称</th>
        <th>用户名</th>
        <th>性别</th>
    </tr>
    </thead>
    <tbody>
    <#list users.records as user>
    <tr>
        <td>${user.id}</td>
        <td>${user.name}</td>
        <td>${user.username}</td>
        <td>
            <#if user.enabled==1>有效</#if>
            <#if user.enabled==0>无效</#if>
        </td>
    </tr>
    </#list>
    </tbody>
</table>
</body>
</html>